<template>
	<view>
		<form class="formStyle" v-for="(item2,index2) in dataList">
			<view style="height: auto; width: 710rpx; margin-left: 20rpx; box-shadow: 0rpx 0rpx 10rpx 5rpx #C0C0C0;" class="animated bounceInLeft slow">
				<view class="cu-form-group margin-top">
					<view class="title">批次编号</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_batch}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">检疫编号</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.livestock_number}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">畜禽种类</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_type}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">年份</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_year}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">月份</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_month}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">生长达标量</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_standard}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">存栏数量</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_hand}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">出栏数量</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_slaughter}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">饲养数量</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_number_feedings}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">病死数量</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_number_deaths}}</text>
				</view>
				<view class="cu-form-group" >
					<view class="title">是否出售</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_sell}}</text>
				</view>
				<template v-if="item2.raise_sell === '是' ">
				<view class="cu-form-group">
					<view class="title">出售额</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_saleamount}}元</text>
				</view>
				<view class="cu-form-group">
					<view class="title">出售地区</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_sellarea}}</text>
				</view>
				</template>
				<!-- <view class="cu-form-group">
					<view class="title">所在养殖场</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.farm_name}}</text>
				</view> -->
				<view class="cu-form-group">
					<view class="title">创建时间</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_creation_time}}</text>
				</view>
				<view class="cu-form-group">
					<view class="title">最后修改时间</view>
					<text style="font-size: 34rpx; color: #7F7F7F;">{{item2.raise_modification_time}}</text>
				</view>
			</view>
		</form>
	</view>
</template>

<script>
	export default {
		data () {
			return {
				
			}
		},
		props: {
			dataList: {
				type: Array
			}
		}
	}
</script>

<style lang="less">
	@import "../../common/animate.css";
	@import "../../common/iconfont.css";
	@import "../../common/uni.css";
	@import "../../common/main.css";
	.formStyle {
		box-shadow: 0rpx 0rpx 10rpx 5rpx #C0C0C0;
	}
</style>
